package com.renatn.yach.service;

import com.renatn.yach.domain.YachItem;
import com.renatn.yach.domain.YachList;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * User: rnasyrov
 * Date: 10.01.12
 * Time: 16:17
 */

public interface YachService {
    
    public YachList createList(String name);
    
    public YachItem createItem(Long listId, String name);

    public List<YachList> getCheckLists();
    
    public YachList getList(Long id);
    
    public List<YachItem> getCheckList(Long listId);
    
    
}
